ABOUTDEVELOPERS |
SpatialStream® Code Examples
Adding Parcel Tile Layer with DMP API
This example show how to create a Map Tile Layer using Google V3 API. It is done by using a Tile Layer object as the map.overlayMapType's input and add it to the overlayMapType array. The Tile Layer object wil be invoked by Google V3 maps and will construct the GetMap requests, which retrieves the images for overlaying on the map. GetMap
layer = new Dmp.Layer.TileLayer("SS", "samplesite.dmp/ParcelTiles", {
minZoom:16, maxZoom:19 });map.overlayMapTypes.push(new google.maps.ImageMapType(layer)); Run Sample Back To Index |